package com.nuoniu.sibanyun.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 模块表
 * </p>
 *
 * @author baiqiang
 * @since 2020-05-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_module")
@ApiModel(value="SysModule对象", description="模块表")
public class SysModule extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模块编码")
    @TableField("module_code")
    private String moduleCode;

    @ApiModelProperty(value = "模块名称")
    @TableField("module_name")
    private String moduleName;

    @ApiModelProperty(value = "模块描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "主类全名")
    @TableField("main_class_name")
    private String mainClassName;

    @ApiModelProperty(value = "当前版本")
    @TableField("current_version")
    private String currentVersion;

    @ApiModelProperty(value = "升级信息")
    @TableField("upgrade_info")
    private String upgradeInfo;

    @ApiModelProperty(value = "状态（0正常 1删除 2停用）")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_date")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "备注信息")
    @TableField("remarks")
    private String remarks;


}
